using MoonFramework.Template;
using Sirenix.OdinInspector;
using UnityEngine;

namespace MoonFramework.Scripts.View.UI
{
    public class UIElement
    {
        [LabelText("是否需要缓存")]
        public bool isCache;
        [LabelText("预制体")]
        public GameObject prefab;
        [LabelText("UI层次")]
        public int layerNum;

        /// <summary>
        /// 窗口元素对象
        /// </summary>
        [HideInInspector]
        public BaseUIWindow objInstance;
    }
}